package com.ipemon.exception;

import java.util.List;

public class DataNotSentException extends Exception {

	List<String> data;
	
	public DataNotSentException(){
		System.err.println("Data was not sent through the UDP socket");
	}
	
	public DataNotSentException(List<String> data) {
		this.data = data;
		System.err.println("Data was not sent through the UDP socket");
	}
	
	public List<String> getTheDataNotSent() {
		return data;
	}
	
}
